﻿<Tree TItem="string"
	  ShowLine
	  SwitcherIcon="@IconType.Outline.Down"
	  DefaultExpandedKeys="@(new[]{"0-0-0"})"
	  OnSelect="OnSelect">
	<SwitcherIconTemplate>
		<Icon Type="@IconType.Outline.Down" />
	</SwitcherIconTemplate>
	<Nodes>
		<TreeNode Title="parent 1" Key="0-0" >
			<TreeNode Title="parent 1-0" Key="0-0-0" >
				<TreeNode Title="leaf" Key="0-0-0-0"  />
				<TreeNode Title="leaf" Key="0-0-0-1"  />
				<TreeNode Title="leaf" Key="0-0-0-2"  />
			</TreeNode>
			<TreeNode Title="parent 1-1" Key="0-0-1" >
				<TreeNode Title="leaf" Key="0-0-1-0"  />
			</TreeNode>
			<TreeNode Title="parent 1-2" Key="0-0-2" >
				<TreeNode Title="leaf" Key="0-0-2-0"  />
				<TreeNode Title="leaf" Key="0-0-2-1"  />
			</TreeNode>
		</TreeNode>
	</Nodes>
</Tree>

@code {
	void OnSelect()
	{

	}
}
